package com.dg.cuckoo.admin.repository;

import com.dg.cuckoo.admin.dto.basicInformation.constructionUnit.ConstructionUnitDto;
import com.dg.cuckoo.core.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConstructionRepository extends BaseRepository<ConstructionUnitDto, String> {

    ConstructionUnitDto findByConstructionName(String name);

    ConstructionUnitDto findByConstructionNumber(String number);

    List<ConstructionUnitDto> findByUnitType(String unitType);



}
